package com.cherrypt.api.common.enums;

import lombok.Getter;
import lombok.ToString;

/**
 * @author intent
 * @date 2019/7/22 22:09
 * @about <link href='http://zzyitj.xyz/'/>
 */
@Getter
@ToString
public enum LogEnum {
    NULL(0, "NULL"),
    LOGIN(1, "登录"),
    REGISTER(2, "注册"),
    LOGOUT(3, "注销"),
    SIGNED(4, "签到"),
    ACTIVATION(5, "激活用户"),
    SEND_RESET_PASS_EMAIL(6, "发送忘记密码邮件"),
    RESET_PASS(7, "重置密码"),
    AVATAR_UPLOAD(8, "上传头像"),
    UPLOAD_OVER_SPEED(9, "上传速度超速");

    LogEnum(int id, String event) {
        this.id = id;
        this.event = event;
    }

    private int id;
    private String event;
}
